package com.gzx.spring.db.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gzx.risk.core.pojo.DailyStats;
import com.gzx.risk.core.pojo.DailyTotalStats;
import com.gzx.risk.core.pojo.OrderInfo;
import com.gzx.spring.db.entity.PhoneProductOrder;

/**
 * 手机：订单
 **/
public interface PhoneProductOrderService extends IService<PhoneProductOrder> {

	OrderInfo getOrder(long id);

	OrderInfo getOrderInfo(String ordercode);

	PhoneProductOrder getOrder(String ordercode);

	List<OrderInfo> getOrdersByStatus(List<Integer> status);

	/**
	 * 根据状态获取定点数量<br>
	 */
	long getFinishOrderCount(int status);

    List<DailyStats> selectDailyStats();

    List<DailyTotalStats> selectTotalStats();
}
